package com.copc.common.constants;

/**
 * 证件类型
 *
 * @author yuni
 * @since 2023/3/9 16:33
 */
public enum IdTypePicusEnum {
    JMSFZ("居民身份证", 0),
    CSZ("出生证", 1),
    HZ("护照", 2),
    GATXZ("港澳通行证", 3),
    TBZ("台胞证", 4),
    JUNGZ("军官证", 5),
    HKB("户口本", 6),
    DLTXZ("大陆通行证", 7),
    HXZ("回乡证", 8),
    JINGGZ("警官证", 9),
    GATTXZ("港澳台通行证", 10),
    SBJ("士兵证", 11),
    TWTXZ("台湾通行证", 12),
    GAJZZ("港澳居住证", 13);


    private final String code;

    private final Integer value;

    IdTypePicusEnum(String code, Integer value) {
        this.code = code;
        this.value = value;
    }

    //获取编号
    public String code() {
        return code;
    }

    //获取信息
    public Integer value() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
